package org.bonorsoft.modules.control.service;

import org.bonorsoft.common.system.vo.Ztree;
import org.bonorsoft.modules.control.entity.Label;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 标签管理
 * @Author: WilliamYe
 * @Date:   2021-03-19
 * @Version: V1.0
 */
public interface ILabelService extends IService<Label> {

    String checkLabelNameUnique(Label label);

    List<Ztree> selectLabelTree();

    boolean updateLabel(Label label);

    Integer selectCountLabelByParentId(Long labelId);

}
